﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="Admin.Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="sysImages/default/css/css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
<!--
body {
	background-color: #FFFFFF;
	background-image: url(sysImages/default/admin/tbg.gif);
	margin-left: 0px;
	margin-top: 0px;
	background-repeat:repeat-x;
}
-->
</style>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script language="javascript">
        function getWeatherInfo() {
            $.get("/comm/WeatherInfo.ashx", function (data, state) {
                if (state == "success") {
                    var WeatherInfo = document.getElementById("WeatherInfo");
                    WeatherInfo.innerHTML = data;
                }
            });
        }

        function init() {
            getWeatherInfo(); //获取天气预报
        }
    </script>
</head>
<body onload="init();">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td height="37" valign="bottom" style="padding-left: 20px; font-size: 14px;">
                <strong><img src="sysImages/logo.png" width="255" height="33"  /></strong>
            </td>
            <td width="26%" height="37" valign="bottom">
                <% = HttpContext.Current.Session["user"]%>&nbsp;
                &nbsp; <a href="sys/ChangePassWord.aspx" target="sys_main" class="menu_ctr">
                    [修改密码]</a> &nbsp; <a href="Login.aspx" class="menu_ctr" target="_top">[注销]</a> &nbsp;
            </td>
        </tr>
        <tr>
            <td height="37" colspan="2" valign="bottom">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td width="70%" style="text-align: center;">
                            <div id="navi_index" style="display: inline;" runat="server" align="left" />
                        </td>
                        <td width="30%">
                            <div style="clear: both; padding-left: 18px; display: inline; text-align: right;"
                                id="WeatherInfo" runat="server">
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td colspan="2" valign="top">
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
